package Homework;

import java.util.InputMismatchException;
import java.util.Scanner;

/**
 * @program: Java_Study
 * @author: Xiaofan
 * @createTime: 2021-07-07 11:12
 * @description: Functions of this class is 异常字符串处理
 **/
public class A5 {
    public static void main(String args[]){
        Scanner scanner=new Scanner(System.in);
        while (scanner.hasNext()){
            Integer s;
            try{
              s=scanner.nextInt();
                System.out.println(s);
            }
            catch (InputMismatchException i){
//                scanner.next();//***
            }
        }
    }
}